package com.shinaier.laundry.snlstore.network.entity;

import android.os.Parcel;
import android.os.Parcelable;

import com.google.gson.annotations.SerializedName;

/**
 * Created by 张家洛 on 2017/11/10.
 */

public class EditPriceComfirmEntity implements Parcelable{
    @SerializedName("item_id")
    private String itemId;
    @SerializedName("token")
    private String token;
    @SerializedName("special")
    private String special;
    @SerializedName("uid")
    private String uid;
    @SerializedName("clean_number")
    private String cleanNumber;
    @SerializedName("special_comment")
    private String specialComment;
    @SerializedName("hedging")
    private String hedging;
    @SerializedName("take_time")
    private String takeTime;
    @SerializedName("status")
    private String status;
    @SerializedName("retcode")
    private int retcode;

    protected EditPriceComfirmEntity(Parcel in) {
        itemId = in.readString();
        token = in.readString();
        special = in.readString();
        uid = in.readString();
        cleanNumber = in.readString();
        specialComment = in.readString();
        hedging = in.readString();
        takeTime = in.readString();
        status = in.readString();
        retcode = in.readInt();
    }

    public static final Creator<EditPriceComfirmEntity> CREATOR = new Creator<EditPriceComfirmEntity>() {
        @Override
        public EditPriceComfirmEntity createFromParcel(Parcel in) {
            return new EditPriceComfirmEntity(in);
        }

        @Override
        public EditPriceComfirmEntity[] newArray(int size) {
            return new EditPriceComfirmEntity[size];
        }
    };

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getSpecial() {
        return special;
    }

    public void setSpecial(String special) {
        this.special = special;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getCleanNumber() {
        return cleanNumber;
    }

    public void setCleanNumber(String cleanNumber) {
        this.cleanNumber = cleanNumber;
    }

    public String getSpecialComment() {
        return specialComment;
    }

    public void setSpecialComment(String specialComment) {
        this.specialComment = specialComment;
    }

    public String getHedging() {
        return hedging;
    }

    public void setHedging(String hedging) {
        this.hedging = hedging;
    }

    public String getTakeTime() {
        return takeTime;
    }

    public void setTakeTime(String takeTime) {
        this.takeTime = takeTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public int getRetcode() {
        return retcode;
    }

    public void setRetcode(int retcode) {
        this.retcode = retcode;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(itemId);
        dest.writeString(token);
        dest.writeString(special);
        dest.writeString(uid);
        dest.writeString(cleanNumber);
        dest.writeString(specialComment);
        dest.writeString(hedging);
        dest.writeString(takeTime);
        dest.writeString(status);
        dest.writeInt(retcode);
    }
}
